package com.example.supplychainbackend.dao.quality;

import com.example.supplychainbackend.entity.quality.UnqualifiedEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;

public interface UnqualifiedDao extends JpaRepository<UnqualifiedEntity, Long> {
    Optional<UnqualifiedEntity> findByNonconformingProductNumber(String NCPNO);
    void deleteByNonconformingProductNumber(String id);
}
